package light.head.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
/**
 * 企业入驻申请
 */
@Entity
@Table
public class SettledApply implements Serializable{
	private static final long serialVersionUID = 6182426911362705043L;
	private Integer code;			//流水号
	private String email;			//电子邮件 （企业的系统管理原账号）
	private String name;			//公司名称
	private String contact;			//联系人
	private String phone;			//联系方式
	private String organID;			//组织机构代码 (验证该家申请企业是否属实)
	private Boolean status;			//是否查看(0.未查看 1.已查看)
	private Boolean deleted;		//是否删除
	private Date ct;				//创建时间
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public String getEmail() {
		return email;
	}
	@Column
	public String getName() {
		return name;
	}
	@Column
	public String getContact() {
		return contact;
	}
	@Column
	public String getPhone() {
		return phone;
	}
	@Column
	public String getOrganID() {
		return organID;
	}
	@Column
	public Boolean getStatus() {
		return status;
	}
	@Column
	public Boolean getDeleted() {
		return deleted;
	}
	@Temporal(TemporalType.TIMESTAMP)
	@Column(updatable = false, nullable = false)
	public Date getCt() {
		return ct;
	}
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public void setOrganID(String organID) {
		this.organID = organID;
	}
	public void setCt(Date ct) {
		this.ct = ct;
	}
	public void setStatus(Boolean status) {
		this.status = status;
	}
	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}
	
	
}
